﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.ESS.DAL;

namespace KPIS.GERP.ESS.BLL
{
    public class IcmPrePurchaseRequestBLL
    {
        private static readonly IcmPrePurchaseRequestDAL dal = new IcmPrePurchaseRequestDAL();

        public DataSet GetPrePurchaseRequest(int Sequence)
        {
            return dal.GetPrePurchaseRequest(Sequence);
        }
        public DataSet GetPrePurchaseRequestItems(Nullable<int> Sequence, Nullable<int> PprSequence)
        {
            return dal.GetPrePurchaseRequestItems(Sequence, PprSequence);
        }
        public DataSet GetPrePurchaseRequestCommittee(Nullable<int> Sequence, Nullable<int> PprSequence)
        {
            return dal.GetPrePurchaseRequestCommittee(Sequence, PprSequence);
        }
        public void ChangeStatus(int Sequence, int ApproveSequence, string Status)
        {
            dal.ChangeStatus(Sequence, ApproveSequence, Status);
        }
    }
}
